The following code is the InlineEditBox that edits date of dijit.form.DateTextBox save it automatically. The inner textarea tag is the Textarea widget. When a user run this code then they see the paragraph of rich text. If user clicks the text, the plain text appears in paragraph. If you want to change the value then click the date text and select the appears date.
The InlineEditBox has methods get/setDisplayedValue, inline. The following code shows the DateTextBox that makes inline in HTML.
|